package com.youlai.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "评估频次表单对象")
@Data
public class FrequencyForm {

    @Schema(description="评估频次ID")
    private Long id;

    @Schema(description="职级ID")
    @NotNull(message = "职级ID不能为空")
    private Long gradeId;

    @Schema(description="故障类型ID")
    @NotNull(message = "故障类型ID不能为空")
    private Long moldId;

    @Schema(description = "故障科目ID")
    @NotNull(message = "故障科目ID不能为空")
    private Long courseId;

    @Schema(description="排序")
    private Integer sort;

    @Schema(description="评估频次状态(1-正常；0-停用)")
    private Integer status;

}
